Generating multi-phase clock signals using hierarchical delays

ABSTRACT

Circuits and methods for generating multi-phase clock signals using digitally-controlled hierarchical delay units (HDs) are provided. A plurality of serially-coupled HDs outputs clock signals that are phase-shifted relative to a reference clock signal. Each HD includes either one or two variable delay lines that provide coarse phase adjustment of an associated input signal. Each HD also includes one or more phase mixers that provide fine phase adjustment of the input signal.

BACKGROUND OF THE INVENTION

This invention relates to circuits and methods for generating multi-phase clock signals. More particularly, this invention relates to circuits and methods for generating multi-phase clock signals using hierarchical delays.

Circuits that generate multi-phase clock signals typically output a plurality of clock signals phase-shifted in equally-spaced increments relative to a reference clock signal. The output clock signals typically have the same frequency as the reference clock signal. For example, a typical circuit may output four clock signals phase-shifted by 90°, 180°, 270° and 360°, respectively, relative to the reference clock signal. Circuits that generate multi-phase clock signals are often used, for example, in electronic systems having complex timing requirements in which multi-function operations are completed during a single reference clock cycle. Multi-phase clock signals are also used in electronic systems in which an operation extends over more than one reference clock cycle.

Conventional circuits generate multi-phase clock signals using analog voltage-controlled delay units (VCDs). The phase shifts (i.e., time delays) generated by the VCDs are adjustable and can be controlled by adjusting the supply voltage. VCDs typically require the use of analog charge pumps and loop filters. It is well-known that analog designs are more difficult to mass produce reliably within stated specifications and are less portable to various process technologies than digital designs.

In view of the foregoing, it would be desirable to provide circuits and methods for generating multi-phase clock signals that rely less on analog components and more on digital components.

SUMMARY OF THE INVENTION

It is an object of this invention to provide circuits and methods for generating multi-phase clock signals that rely less on analog components and more on digital components.

In accordance with this invention, a circuit comprising a plurality of serially-coupled hierarchical delay units (HDs) outputs clock signals phase-shifted relative to a reference clock signal. Each HD includes either one or two variable delay lines (VDLS) that provide coarse phase adjustment of an associated input clock signal. Each HD also includes one or more phase mixers that provides fine phase adjustment of the input clock signal. Advantageously, circuits of the invention do not include analog VCDS, charge pumps or loop filters.

The invention also provides methods of generating multi-phase clock signals using HDs.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects and advantages of the invention will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which like reference characters refer to like parts throughout, and in which:

FIG. 1 is a block diagram of a conventional circuit that uses analog voltage-controlled delay units to generate multi-phase clock signals;

FIG. 2. is a timing diagram showing the relative phase shifts between the reference and output clock signals of the circuit of FIG. 1 in a “locked” mode of operation;

FIG. 3 is a block diagram of a circuit that uses hierarchical delay units to generate multi-phase clock signals in accordance with the invention;

FIGS. 4–6 are block diagrams of various embodiments of the hierarchical delay units of FIG. 3 in accordance with the invention; and

FIG. 7 is a block diagram of a system that incorporates the invention.

DETAILED DESCRIPTION OF THE INVENTION

The invention relates to circuits and methods for generating multi-phase clock signals using hierarchical delay units, eliminating the need for analog VCDs, charge pumps and loop filters.

FIG. 1 shows a conventional circuit 100 for generating multi-phase clock signals. Circuit 100 includes a plurality of serially-coupled voltage-controlled delay units (VCDs) 102, 104, 106 and 108, phase detector 110, charge pump 112 and loop filter 114. A reference clock signal is input to VCD 102 (i.e., the first VCD in the serially-coupled chain) at input 116. In “locked” mode of operation, each VCD phase shifts (i.e., time delays) the reference clock signal by about (360/M)°, where M is the total number of VCDs in the serially-coupled chain. VCDs 102, 104, 106 and 108 preferably do not change the frequency of the reference clock signal. In this example, circuit 100 has four VCDs 102, 104, 106 and 108 (i.e., M=4), and each VCD produces a phase shift of about (360/4)°=90°. “Locked” mode of circuit 100 is described in greater detail below. VCDs 102, 104, 106 and 108 output clock signals phase-shifted by about 90°, 180°, 270° and 360° relative to the reference clock signal at outputs 118, 120, 122 and 124, respectively.

FIG. 2 is a timing diagram 200 that shows the relative phase shifts between the reference and output clock signals of circuit 100 in “locked” mode. As shown, VCD 102 outputs clock signal 202 that is 90° out of phase with reference clock signal 204, which is input to circuit 100 at input 116. VCD 104 outputs clock signal 206 that is 180° out of phase with reference clock signal 204. VCD 106 outputs clock signal 208 that is 270° out of phase with reference clock signal 204. VCD 108 outputs clock signal 210 that is 360° (i.e., one full reference clock period) out of phase with reference clock signal 204.

Returning to FIG. 1, circuit 100 maintains the “locked” condition shown in FIG. 2 as follows: Phase detector 110 receives the reference clock signal at input 126. Phase detector 110 receives the clock signal output by VCD 108 (i.e., the last VCD in the serially-coupled chain) at input 128. Phase detector 110 compares the phases of these two signals and provides a signal indicating the result of this comparison to charge pump 112. The desired condition is that these signals are 360° out of phase with one another, as shown in FIG. 2. Charge pump 112 causes either an increase or a decrease in the phase shifts produced by VCDs 102, 104, 106 and 108, depending on which is needed to more closely match the desired condition. In particular, charge pump 112 increases the control voltage (V_(ctrl)) supplied to VCDs 102, 104, 106 and 108 when the clock signal output by VCD 108 is phase-shifted greater than 360° relative to the reference clock signal. This causes a decrease in the phase shifts produced by VCDs 102, 104, 106 and 108. Charge pump 112 decreases the control voltage supplied to VCDs 102, 104, 106 and 108 when the clock signal output by VCD 108 is phase-shifted less than 360° relative to the reference clock signal. This causes an increase in the phase shifts produced by VCDs 102, 104, 106 and 108. Loop filter 114 low-pass filters the high frequency components of the signal output by charge pump 112.

FIG. 3 shows a circuit 300 that can generate multi-phase clock signals in accordance with the invention. Circuit 300 includes a plurality of serially-coupled hierarchical delay units (HDs) 302, 304, 306, 308 and 310, phase detector 312 and logic circuitry 314. A reference clock signal is input to HD 302 (i.e., the first HD in the serially-coupled chain) at input 316. HDs 302, 304, 306, 308 and 310 are preferably substantially identical to one another in order to provide output clock signals phase-shifted in equally-spaced increments relative to the reference clock signal. Each HD phase shifts (i.e., time delays) the reference clock signal by about (360/M)° in “locked” mode of operation, where M is the total number of HDs in the serially-coupled chain. HDs 302, 304, 306, 308 and 310 preferably do not change the frequency of the reference clock signal. “Locked” mode of circuit 300 is described in greater detail below. HDs 302, 304, 306, 308 and 310 output clock signals phase-shifted relative to the reference clock signal at outputs 318, 320, 322, 324 and 326, respectively.

Various numbers of HDs can be included in circuit 300 in order to obtain a desired phase distribution of output clock signals. For example, if four HDs are included in circuit 300 (i.e., M=4), each delay produces a phase shift of about (360/4)°=90°. This results in four output clock signals phase-shifted relative to the reference clock signal by about 90°, 180°, 270° and 360°. These output clock signals may appear similar to the output clock signals shown in FIG. 2. If eight HDs are included in circuit 300 (i.e., M=8), each delay produces a phase shift of about (360/8)°=45°. This results in eight output clock signals phase-shifted relative to the reference clock signal by about 45°, 90°, 135°, 180°, 225°, 270°, 315° and 360°.

Phase detector 312 and logic circuit 314 maintain the “locked” condition of circuit 300. In particular, phase detector 312 receives the reference clock signal at input 328 and the output signal of HD 310 (i.e., the last HD in the serially-coupled chain) at input 330. Phase detector 312 compares the phases of these two signals and provides a signal indicating the result of this comparison to logic circuit 314. The desired condition is often that these signals be 360° (i.e., one full reference clock period) out of phase with one another. Other phase relationships are of course possible. Logic circuit 314 causes either an increase or a decrease in the phase-shifts of HDs 302, 304, 306, 308 and 310, depending on which is needed to more closely match the desired condition. Logic circuit 314 may include various numbers and configurations of logic gates, as needed to provide the digital signals required for controlling the HDs of circuit 300. For example, substantially identical HDs that output clock signals phase-shifted in equally-spaced increments relative to the reference clock signal can be controlled by the same digital signals. The design of a suitable logic circuit 314 should be apparent to one of ordinary skill in the art in view of the following description of HDs.

A hierarchal delay unit (HD) in accordance with the invention provides multiple stages of phase adjustment. In particular, an HD includes a first stage in which either one or two variable delay lines (VDLs) provide “coarse” phase adjustment of an associated input clock signal. The HD also includes one or more stages of phase mixers that provide “fine” phase adjustment relative to the input clock signal.

FIG. 4 shows an embodiment of an HD having two stages of phase adjustment in accordance with the invention. HD 400 includes VDLs 402 and 404 and phase mixer 406. In the first stage, VDL 402 receives a clock signal at input 408 and a control signal at input 410, and outputs a signal phase-shifted relative to the input clock signal by a first phase (φ₁) at output 412. VDL 404 receives the input clock signal at input 414 and a control signal at input 416, and outputs a signal phase-shifted relative to the input clock signal by a second phase (φ₂) at output 418. In the second stage, phase mixer 406 receives the phase-shifted signals from VDLs 402 and 404 and also receives a control signal at input 420. Phase mixer 406 outputs a clock signal having an overall phase shift (φ_(OUT)) relative to the input clock signal at output 422. The overall phase shift (φ_(OUT)) can be one of N possible phase shifts, evenly spaced apart, between and including φ₁ and φ₂, where N is characteristic of phase mixer 406 and can be any reasonable number (e.g., 5 or 10). The Nth phase shift of phase mixer 406 that most closely matches the desired phase shift of HD 400 is preferably selected.

The overall phase shift φ_(OUT) of the clock signal output by HD 400 at output 422 can be represented by the following equation: φ_(OUT)=φ₁*(1−K)+φ₂ *K where K=c/(N−1)

-   -   for c=0, 1, . . . N−1         Variable K is a weighting factor of phase mixer 406 that can be         one of N possible values and that determines how closely the         output phase shift φ_(OUT) matches either of the phase shifts φ₁         and φ₂. This equation is for an ideal phase mixer having zero         propagation delay. For K equal to zero, phase mixer 406 outputs         a clock signal phase-shifted by φ₁. For K equal to (N−1), phase         mixer 406 outputs a clock signal phase-shifted by φ₂. For all         other values of c, phase mixer 406 outputs a clock signal         phase-shifted between φ₁ and φ₂.

VDLs 402 and 404 each include delay units that phase shift the clock signal received at respective inputs 408 and 414 by φ₁ and φ₂, respectively. The delay units of VDLs 402 and 404 may be either analog or digital that can be digitally controlled by logic circuit 314. The number of delay units in a VDL indicates the number of phase shifts (i.e., φs) that the VDL can generate. For example, a VDL having five delay units can phase shift its input signal by one of five phases (e.g., φ=θ, 2θ, 3θ, 4θ or 5θ). Logic circuit 314 sets control signals 410 and 416 of VDLs 410 and 416 such that one of φ₁ and φ₂ is greater than or equal to the overall phase shift of HD 400, and the other is less than or equal to the overall phase shift. For example, if HD 400 generates an overall phase-shift of 90° relative to the input clock signal, logic circuit 314 sets control signals 410 and 416 such that one of φ₁ and φ₂ is greater than or equal to 90°, and the other is less than or equal to 90°.

Control signals 410 and 416 of VDLs 402 and 404 are preferably set such that φ₁ and φ₂ differ by only one unit phase shift (i.e., φ₂−φ₁=θ), which is the minimum phase adjustment step size that can be provided by VDLs 402 and 404.

In another embodiment, HD 400 may include only a single VDL to generate both φ₁ and φ₂ having a phase difference of one unit phase shift. In particular, the output of a single VDL could be split into two outputs, one output providing φ₁ and the other output feeding into an additional delay unit to provide φ₂.

The minimum phase adjustment step size θ provided by VDLs 402 and 404 can be represented by the following equation: θ=(tUD/Tref)*360° where tUD is a time delay characteristic of a single delay unit of VDLs 402 and 404 (e.g., 100 or 200 picoseconds (ps)) and Tref is the period of the clock signal input to HD 400. For example, for an input signal having Tref=10000 ps (i.e., frequency of 100 MHz), and a unit delay having tUD=100 ps, the minimum phase adjustment step size that can be provided by VDLs 402 and 404 is θ=(100/10000)*360°=3.6°.

Phase mixer 406 provides for finer phase adjustment of the output signal relative to the clock input signal. In particular, because phase mixer 406 outputs a clock signal that can have one of N possible phase shifts, evenly spaced apart, between and including φ₁ and φ₂, it follows that phase mixer 406 reduces the minimum phase adjustment step size that can be provided by HD 400 to θ/N. For example, keeping with the above example where the minimum step size provided by VDLs is 3.6°, a phase mixer 406 with N=10 would reduce the minimum phase adjustment step size that can be provided by HD 400 to 3.6°/N=0.36°.

In accordance with the invention, an HD may include multiple stages of phase mixers to allow for increasingly finer phase adjustment. FIG. 5 shows another embodiment of an HD in accordance with the invention. HD 500 has three stages of phase adjustment and includes VDLs 502 and 504 and phase mixers 506, 508 and 510. VDLs 502 and 504 form a single stage of “coarse” phase adjustment that may be the same as that of HD 400. Phase mixers 506 and 508 form a first stage of “fine” phase adjustment, and phase mixer 510 forms a second stage of “finer” phase adjustment.

In particular, each of phase mixers 506 and 508 receives signals from VDLs 502 and 504 phase-shifted by φ₁ and φ₂. Phase mixers 506 and 508 generate respective output signals 512 and 514 having N₁ possible phase shifts between and including φ₁ and φ₂. Phase mixer 510 receives signals 512 and 514, and outputs a clock signal at output 516 having an overall phase shift (φ_(OUT)) that can be represented by the following equation: φ_(OUT)=φ₁*(1−K)+φ₂ *K where K=c/(N ₁ *N ₂−1)

-   -   for c=0, 1, . . . N₁*N₂−1         and N₂ is the number of possible phase shifts between and         including the phase shifts of signals 512 and 514 that can be         generated by phase mixer 510. The above equation is for phase         mixers 506, 508 and 510 ideally having zero propagation delay.         Together, the two stages of phase mixers provide for N₁*N₂         possible phase shifts, evenly spaced apart, between and         including φ₁ and φ₂. Therefore, the two stages of phase mixers         reduce the minimum phase adjustment step size from θ (i.e., the         minimum step size that can be provided by VDLs 402 and 404) to         θ/N₁*N₂.

FIG. 6 shows a generalized embodiment of an HD having multiple stages of phase adjustment in accordance with the invention. HD 600 includes a single stage of “coarse” phase adjustment (formed by VDLs 602 and 604) and Q of stages of “fine” phase adjustment (formed by a plurality of phase mixers). HD 600 outputs a clock signal at output 606 phase-shifted relative to the input clock signal received at input 608. The overall phase shift (φ_(OUT)) of the clock signal at output 606 can be represented by the following equation: φ_(OUT)=φ₁*(1−K)+φ₂ *K where K=c/(N ₁ *N ₂ * . . . *N _(Q-1) *N _(Q)−1)

-   -   for c=0, 1, . . . (N₁*N₂* . . . *N_(Q-1)*N_(Q)−1)         and N_(Q) is the number of possible phase shifts that can be         produced by the Qth stage of phase mixers. The above equation is         for ideal phase mixers having zero propagation delay. Together,         the Q stages of “fine” phase adjustment provide (N₁*N₂* . . .         N_(Q-1)*N_(Q)) possible phase shifts, evenly spaced apart,         between and including φ₁ and φ₂ generated by VDLs 602 and 604,         respectively. Thus, Q stages of phase mixers reduce the minimum         phase adjustment step size that can be provided by HD 600 from θ         (i.e., the minimum step size that can be provided by VDLs 402         and 404) to θ/(N₁*N₂* . . . N_(Q-1)*N_(Q)).

FIGS. 4–6 have been described herein for clarity primarily in the context of using the control signals from logic circuit 314 to set respective phase mixers such that a signal having an intermediate phase is generated. Note that some or all of the phase mixers can be controlled to output a signal having the same phase as one of the input signals, if such a phase is desired. For example, in some applications, an input signal may need each stage of “fine” phase adjustment formed by various phase mixers in order to generate an output signal having a desired phase, while in other applications, an input signal may need only some of the stages of phase mixers in order to generate an output signal having a desired phase. Alternatively, if all the stages of phase mixers are not needed to generate a desired output signal, rather than sending the signals through each stage, the output signal can be routed directly to the output from the last stage needed, thus bypassing the remaining stages.

FIG. 7 shows a system 700 that incorporates the invention. System 700 includes a plurality of DRAM chips 702, a processor 704, a memory controller 706, input devices 708, output devices 710, and optional storage devices 712. DRAM chips 702 include an array of memory cells. One or more DRAM chips 702 also include one or more circuits of the invention to generate multi-phase clock signals using hierarchical delays. The circuits of the invention may, for example, be used to synchronize data output by the DRAMs with an external clock signal (e.g., synchronous DRAM (SDRAM)). Data and control signals are transferred between processor 704 and memory controller 706 via bus 714. Similarly, data and control signals are transferred between memory controller 706 and DRAM chips 702 via bus 716. Input devices 708 can include, for example, a keyboard, a mouse, a touch-pad display screen, or any other appropriate device that allows a user to enter information into system 700. Output devices 710 can include, for example, a video display unit, a printer, or any other appropriate device capable of providing output data to a user. Note that input devices 708 and output devices 710 can alternatively be a single input/output device. Storage devices 712 can include, for example, one or more disk or tape drives.

Thus it is seen that circuits and methods for generating multi-phase clock signals using hierarchical delays are provided. One skilled in the art will appreciate that the invention can be practiced by other than the described embodiments, which are presented for purposes of illustration and not of limitation, and the present invention is limited only by the claims which follow. 

1. A circuit for receiving a reference clock signal and outputting clock signals having different phases corresponding to said reference clock signal, said circuit comprising: a plurality of serially-coupled delay units comprising a first delay unit operative to receive said reference clock signal, said plurality of serially-coupled delay units operative to output clock signals phase-shifted relative to said reference clock signal, at least one said delay unit of said plurality of serially-coupled delay units providing at least three stages of increasingly finer variable phase adjustment controllable by digital signals; a phase detector operative to output a signal indicating a phase difference between said reference clock signal and a clock signal output by said plurality of serially-coupled delay units; and logic circuitry operative to output digital signals to control phase shifts performed by said plurality of serially-coupled delay units based on said output of said phase detector.
 2. The circuit of claim 1 wherein a delay unit of said plurality of serially-coupled delay units comprises: at least one delay line comprising an input coupled to an input of said delay unit, said at least one delay line operative to output a first signal having a first phase and a second signal having a second phase; and at least one phase mixer operative to receive said first and said second signals of said at least one variable delay line, said at least one phase mixer operative to output a third signal having a third phase.
 3. The circuit of claim 2 wherein said third phase is one of said first phase, said second phase or a phase in between said first and said second phases.
 4. The circuit of claim 1 wherein said reference clock signal and said clock signals output by said plurality of serially-coupled delay units have substantially the same frequency.
 5. The circuit of claim 1 wherein a delay unit of said plurality of serially-coupled delay units comprises at least one variable delay line.
 6. The circuit of claim 5 wherein said at least one variable delay line comprises two variable delay lines.
 7. The circuit of claim 1 wherein a delay unit of said plurality of serially-coupled delay units comprises at least one phase mixer.
 8. The circuit of claim 1 wherein said at least three stages of phase adjustment comprises a variable delay line stage and two phase mixer stages.
 9. The circuit of claim 1 wherein said plurality of serially-coupled delay units outputs a corresponding plurality of output clock signals having different phases.
 10. The circuit of claim 1 wherein said plurality of clock signals are phase-shifted by about (360/M)° to about 360° relative to said reference clock signal, where M is the number of delay units of said plurality of serially-coupled delays.
 11. The circuit of claim 1 wherein said plurality of serially-coupled delay units are substantially identical to one another.
 12. The circuit of claim 1 wherein said plurality of serially-coupled delay units are controlled by the same digital signals.
 13. A circuit for receiving a reference clock signal and outputting clock signals having different phases corresponding to said reference clock signal, said circuit comprising: a plurality of serially-coupled delay units comprising a first delay unit operative to receive said reference clock signal, said plurality of serially-coupled delay units operative to output clock signals phase-shifted relative to said reference clock signal, each said delay unit of said plurality of serially-coupled delay units providing at least two stages of digitally-controlled variable phase adjustment, wherein a delay unit of said plurality of serially-coupled delay units comprises: two parallel delay lines each comprising an input coupled to an input of said delay unit, each said delay line operative to output a signal having a phase; two parallel phase mixers each operative to receive said output signals from said two parallel delay lines, said two phase mixers each operative to output a signal having a phase between said phases of said delay line output signals; and a third phase mixer operative to receive said output signals from said two parallel phase mixers, said third phase mixer operative to output a third signal having a third phase; a phase detector operative to output a signal indicating a phase difference between said reference clock signal and a clock signal output by said plurality of serially-coupled delay units; and logic circuitry operative to digitally control phase shifts of said plurality of said serially-coupled delay units based on said output of said phase detector.
 14. The circuit of claim 13 wherein said delay lines provide coarse phase adjustment.
 15. The circuit of claim 13 where said two parallel phase mixers provide phase adjustment finer than said delay lines.
 16. The circuit of claim 13 wherein said third phase mixer provides phase adjustment finer than said two parallel phase mixers.
 17. A method of outputting clock signals having different phases corresponding to a reference clock signal, said method comprising: receiving said reference clock signal; generating a plurality of clock signals each phase-shifted differently relative to said reference clock signal, at least one of said generated phase-shifted clock signals generated via at least three stages of increasingly finer phase adjustment; measuring phase difference between said reference clock signal and a clock signal of said plurality of clock signals; and adjusting if necessary phase shifts of said plurality of clock signals based on said measuring.
 18. The method of claim 17 wherein said adjusting comprises adjusting said phase shifts by a first increment.
 19. The method of claim 18 wherein said adjusting comprises adjusting said phase shifts by a second increment, said second increment smaller than said first increment.
 20. A method of outputting clock signals having different phases corresponding to a reference clock signal, said method comprising: receiving said reference clock signal; generating a plurality of clock signals each phase-shifted differently relative to said reference clock signal; measuring phase difference between said reference clock signal and a clock signal of said plurality of clock signals; adjusting coarsely phase shifts of said plurality of clock signals in response to a measured phase shift; adjusting finely said coarsely adjusted phase shifts of said plurality of clock signals in response to a measured phase shift; and adjusting more finely said finely adjusted phase shifts of said plurality of clock signals in response to a measured phase shift.
 21. The method of claim 20 further comprising adjusting even more finely phase shifts of said plurality of clock signals.
 22. Apparatus for outputting multi-phase clock signals corresponding to a reference clock signal, said circuit comprising: means for receiving said reference clock signal; means for outputting a plurality of clock signals phase-shifted relative to said reference clock signal, said means for outputting comprising means for providing at least three stages of increasingly finer phase adjustment for at least one of said plurality of clock signals; means for measuring phase difference between said reference clock signal and a clock signal of said plurality of clock signals; and means for adjusting phase shifts of said plurality of clock signals based on measurements of said phase difference.
 23. A computer system comprising: a processor; a memory controller coupled to said processor; a plurality of dynamic random access memory (DRAM) chips coupled to said memory controller; and circuitry for synchronizing with an external clock signal data output by said DRAM chips, said circuitry comprising: circuitry for outputting a plurality of clock signals phase-shifted relative to said external clock signal, said circuitry for outputting comprising circuitry for providing at least three stages of increasingly finer phase adjustment for at least one of said plurality of clock signals; circuitry for measuring phase difference between said external clock signal and a clock signal of said plurality of clock signals; and circuitry for adjusting phase shifts of said plurality of clock signals based on measured phase differences. 